let express = require('express'),
  app = express(),
  http = require('http'),
  socketIO = require('socket.io'),
  server, io;

app.use(express.static(__dirname + '/app'));

app.get('/', function(req, res) {
  res.sendFile("app");
});

server = http.Server(app);
server.listen(process.env.PORT || 3000);

io = socketIO(server);

//list of rooms, with the players
let rooms = {};

let clientRooms = {}; 

const foods = ["Stretched Noodles \u{1F35C}",      "Waffle \u{1F96E}",   "Chips \u{1F35F}", "Fried Chicken \u{1F357}",
               "Burger \u{1F354}",   "Pizza \u{1F355}", "Spaghetti \u{1F35D}",   "Taco \u{1F32F}",
               "Doughnut \u{1F369}", "Macaron \u{1F370}",      "Puff \u{1F967}", "Souffle \u{1F382}",
               "Cheese Cake \u{1F370}",      "Ice Cream \u{1F366}",        "Hot Dog \u{1F32D}",      "Sandwich \u{1F96A}"];

//let arrayOfPlayers = []


